package com.work.example.demo5.domain;

public class CategoryEntity {
    private Long CategoryId;
    private String CategoryName;

    public CategoryEntity() {
    }

    @Override
    public String toString() {
        return "CategoryEntity{" +
                "CategoryId=" + CategoryId +
                ", CategoryName='" + CategoryName + '\'' +
                '}';
    }

    public CategoryEntity(Long categoryId, String categoryName) {
        CategoryId = categoryId;
        CategoryName = categoryName;
    }
    public Long getCategoryId() {
        return CategoryId;
    }

    public void setCategoryId(Long categoryId) {
        CategoryId = categoryId;
    }

    public String getCategoryName() {
        return CategoryName;
    }

    public void setCategoryName(String categoryName) {
        CategoryName = categoryName;
    }
}
